<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>新闻详细</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<LINK href="<%=path %>/admin/css/admin.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=path %>/admin/js/myJs.js"></script>
	<script type="text/javascript" src="<%=path%>/ckeditor/ckeditor.js"></script>
	<link href="<%=path %>/admin/css/myStyle.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
		input{
			width: 300px;
		}
	</style>
  </head>
  
  <body>
   <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
  <TR height=20>
    <TD></TD></TR>
  <TR height=22>
    <TD style="PADDING-LEFT: 20px; FONT-WEIGHT: bold; COLOR: #ffffff" 
    align="center" background="<%=path %>/admin/images/title_bg2.jpg">新闻内容</TD></TR>
  <TR bgColor=#ecf4fc height=12>
    <TD></TD></TR>
  <TR height=20>
    <TD></TD></TR></TABLE>
    
   
<TABLE cellSpacing=0 cellPadding=2 width="95%" align=center border=0>
  <TR>
    <TD align=right width=100>新闻标题：</TD>
    <TD style="COLOR: #880000"> ${n.newsTitle }
    </TD></TR>
     <TR>
    <TD align=right width=100>新闻日期：</TD>
    <TD style="COLOR: #880000">${n.newsDate }
    </TD></TR>		
     <TR>
    <TD align=right width=100>点击数：</TD>
    <TD style="COLOR: #880000">${n.newsClick }
    </TD></TR>	
    <tr>
    <TD align=right>是否置顶：</TD>
    <TD style="COLOR: #880000">${n.newsType }</TD></TR>
  <TR>
    <TD align=right valign="top">新闻内容：</TD>
    <TD>
    		${n.newContent }
    	
   </TD>
    </TR>
    <tr align="center">
		<td colspan="2" align="center">
			<button type="button" class="allDelete" onclick="window.location.href='news_preUpdate.html?news.newsId=<s:property value="#attr.n.newsId" />'">修改新闻</button>
			<button type="button" class="allDelete" onclick="history.go(-1);">返回</button>
		</td>
	</tr>
    
 </TABLE>

  </body>
</html>
